<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="{:U('export')}" target="selectedTodo" rel="name" postType="string"><span>备份表</span></a></li>
			<li><a class="edit" href="{:U('optimize')}" target="selectedTodo" rel="name" postType="string"><span>优化表</span></a></li>
			<li><a class="delete" href="{:U('repair')}" target="selectedTodo" rel="name" postType="string"><span>修复表</span></a></li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="50">
		<thead>
			<tr>
				<th width="22"><input type="checkbox" checked group="name" class="checkboxCtrl"></th>
				<th width="">数据表名称</th>
				<th width="70">数据量</th>
				<th width="60" align="center">引擎</th>
				<th width="100" align="center">整理</th>
				<th width="70">数据大小</th>
				<th width="70">冗余</th>
				<th width="150" align="center">创建时间</th>
				<th width="150" align="center">更新时间</th>
				<th width="70" align="center"></th>
			</tr>
		</thead>
		<tbody>
			<volist name="__list__" id="vo">
			<tr target="name" rel="{$vo.Name}">
				<td><input name="name" value="{$vo.Name}" checked type="checkbox"></td>
				<td>{$vo.Name}</td>
				<td>{$vo.Rows}</td>
				<td>{$vo.Engine}</td>
				<td>{$vo.Collation}</td>
				<td>{$vo.Data_length|format_bytes}</td>
				<td>{$vo.Data_free|format_bytes}</td>
				<td>{$vo.Create_time}</td>
				<td>{$vo.Update_time}</td>
				<td><a target="ajaxTodo" href="{:U('optimize?name='.$vo['Name'])}">优化</a> | <a target="ajaxTodo" href="{:U('repair?name='.$vo['Name'])}">修复</a></td>
			</tr>
			</volist>
		</tbody>
	</table>
</div>